QT += quick core-private core qml
SOURCES += \
        Myclass.cpp \
        OpencvMo.cpp \
        main.cpp
RESOURCES += resources
resources.files = main.qml 
resources.prefix = /$${TARGET}
android{
ANDROID_OPENCV = D:/opencv-4.10.0-android-sdk/OpenCV-android-sdk/sdk/native


INCLUDEPATH += \
$$ANDROID_OPENCV/jni/include/opencv2    \
$$ANDROID_OPENCV/jni/include    \

LIBS += \
$$ANDROID_OPENCV/staticlibs/arm64-v8a/libopencv_*.a \
$$ANDROID_OPENCV/3rdparty/libs/arm64-v8a/lib*.a

#ANDROID_PACKAGE_SOURCE_DIR =D:/qt/android
contains(ANDROID_TARGET_ARCH,arm64-v8a)
{
ANDROID_EXTRA_LIBS = \
        D:/opencv-4.10.0-android-sdk/OpenCV-android-sdk/sdk/native/libs/arm64-v8a/libopencv_java4.so
}
}

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
DISTFILES += \
        android/AndroidManifest.xml

HEADERS += \
    Myclass.h \
    OpencvMo.h

